<include file="Public:header" />
<table>
	<tr>
		<td>ID</td>
		<td>商场</td>
		<td>类型</td>
		<td>创建时间</td>
		<td>使用时间</td>
		<td>状态</td>
	</tr>
	<foreach name="codes" item="code">
	<tr>
		<td>{$code.id}</td>
		<td>{$code.mid}</td>
		<td>{$code.type}</td>
		<td>{$code.create_time|date="Y-m-d G:i:s",###}</td>
		<td><notempty name="code['user_time']">{$code.user_time|date="Y-m-d G:i:s",###}</notempty></td>
		<td>{$code.status}</td>
	</tr>
	</foreach>
</table>
<include file="Public:footer" />